<tr>
    <th>编号</th>
    <th><i class="fa fa-header"></i>产品分类名称</th>
    <th><i class="fa fa-clock-o">添加时间</th>
    <th><i class="fa "><a id="click" style="border-bottom:1px solid #000 ;color: #000;">排序</a></th>
    <th>操作</th>
</tr>
<foreach name="cat_pro" item="v">
  <tr>
      <td>{$a++}</td>
      <td class="cat_name">
        <input type="text" value="{$v.cat_name}" readonly data_id="{$v.cat_id}">
      </td>
      <td>{$v.cat_addtime|date="Y-m-d",###}</td>
      <td>{$v.cat_ord}</td>
      <td>
          <a href="{:U('Admin/catpro/catpro_edit/aid/'.$v['cat_id'])}" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
          <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="{$v.cat_id}"><i class="fa fa-trash"></i> 删除 </a>
      </td>
  </tr>
 </foreach>
 <tr>
    <td colspan="5">{$show}</td>
 </tr>